package cn.school.student.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @className: StudentExamInfo
 * @author: Alex
 * @date: 2023/5/15
 **/
@Data
@TableName("t_exam_info tei " +
		"left join t_term_time ttt on tei.term_id  = ttt.id " +
		"left join t_exam_result_info teri on tei.id = teri.exam_id " +
		"left join t_sys_dict_detail sdd on sdd.dict_value=tei.curriculum_type and sdd.dict_type='course_type'\n")
public class StudentExamInfo {
	@TableField("teri.id")
	private Long examResultId;
	
	@TableField("tei.exam_name")
	private String examName;
	
	@TableField("ttt.remarks")
	private String term;
	
	@TableField("teri.student_class_name")
	private String examClass;
	
	@TableField("sdd.dict_label")
	private String examCourse;
	
	@TableField("tei.exam_begin_time")
	private String examBeginTime;
	
	@TableField("tei.exam_end_time")
	private String examEndTime;
	
	@TableField("teri.student_name")
	private String studentName;
	
	@TableField("teri.student_code")
	private String studentId;
	
	@TableField("teri.score")
	private String score;
	
	@TableField("teri.is_pass")
	private String isPass;
}
